<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <?php echo link_tag('bootstrap/css/estilo.css') ?>
        <?php echo link_tag('bootstrap/css/bootstrap.min.css') ?>
        <?php echo link_tag('bootstrap/css/layout.css') ?>

    </head>
    <body> 
        <fieldset>
            <div class="body" id="container">

                <p><?php echo "Los datos se han guardado correctamente"; ?> </p>
                <?php
                if (!$message == "") {
//                    print_r($message);
                    ?>
                    <form METHOD="POST" target="_blank" action="<?php echo $message['dir'] ?>" >
                        <?php foreach ($message as $value){ ?>
                        <input class="input-mini invisible" style="height: 0px" name="lista[]" value="<?php echo $value;?>"/>
                        <?php }
                    }
                    ?>
                        <br>
                        <button class="btn btn-primary" name="imprimir" value="1">Imprimir</button>    
                         <br>
                </form>
 <br>



        </fieldset>
    </body>
</html>
